package com.longdaji.decoration.data.bean;

import java.util.List;

/**
 * Created by longtao on 2018/3/19.
 */

public class GoodsSkuBean {
    private Goods goods;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "GoodsSkuBean{" +
                "goods=" + goods +
                '}';
    }

    public static class Goods {
        private String goodsId;
        private String goodsName;
        private String cateId;
        private String salesId;
        private String brandId;
        private double goodsDefaultPrice;
        private long goodsSales;
        private long goodsCommnets;
        private String addTime;
        private String goodsDesc;
        private String delFlag;
        private String isTry;
        private String imgName;
        private String imgAddress;
        private List<GoodsSku> goodsSku;
        private String isCollection;

        @Override
        public String toString() {
            return "Goods{" +
                    "goodsId='" + goodsId + '\'' +
                    ", goodsName='" + goodsName + '\'' +
                    ", cateId='" + cateId + '\'' +
                    ", salesId='" + salesId + '\'' +
                    ", brandId='" + brandId + '\'' +
                    ", goodsDefaultPrice=" + goodsDefaultPrice +
                    ", goodsSales=" + goodsSales +
                    ", goodsCommnets=" + goodsCommnets +
                    ", addTime='" + addTime + '\'' +
                    ", goodsDesc='" + goodsDesc + '\'' +
                    ", delFlag='" + delFlag + '\'' +
                    ", isTry='" + isTry + '\'' +
                    ", imgName='" + imgName + '\'' +
                    ", imgAddress='" + imgAddress + '\'' +
                    ", goodsSku=" + goodsSku +
                    '}';
        }

        public String getIsCollection() {
            return isCollection;
        }

        public void setIsCollection(String isCollection) {
            this.isCollection = isCollection;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getCateId() {
            return cateId;
        }

        public void setCateId(String cateId) {
            this.cateId = cateId;
        }

        public String getSalesId() {
            return salesId;
        }

        public void setSalesId(String salesId) {
            this.salesId = salesId;
        }

        public String getBrandId() {
            return brandId;
        }

        public void setBrandId(String brandId) {
            this.brandId = brandId;
        }

        public double getGoodsDefaultPrice() {
            return goodsDefaultPrice;
        }

        public void setGoodsDefaultPrice(double goodsDefaultPrice) {
            this.goodsDefaultPrice = goodsDefaultPrice;
        }

        public long getGoodsSales() {
            return goodsSales;
        }

        public void setGoodsSales(long goodsSales) {
            this.goodsSales = goodsSales;
        }

        public long getGoodsCommnets() {
            return goodsCommnets;
        }

        public void setGoodsCommnets(long goodsCommnets) {
            this.goodsCommnets = goodsCommnets;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getGoodsDesc() {
            return goodsDesc;
        }

        public void setGoodsDesc(String goodsDesc) {
            this.goodsDesc = goodsDesc;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }

        public String getIsTry() {
            return isTry;
        }

        public void setIsTry(String isTry) {
            this.isTry = isTry;
        }

        public String getImgName() {
            return imgName;
        }

        public void setImgName(String imgName) {
            this.imgName = imgName;
        }

        public String getImgAddress() {
            return imgAddress;
        }

        public void setImgAddress(String imgAddress) {
            this.imgAddress = imgAddress;
        }

        public List<GoodsSku> getGoodsSku() {
            return goodsSku;
        }

        public void setGoodsSku(List<GoodsSku> goodsSku) {
            this.goodsSku = goodsSku;
        }

        public static class GoodsSku {
            private String skuId;
            private String goodsId;
            private String skuAttribute;
            private double price;
            private int stock;
            private long sales;
            private String goodsSkuImg;
            private String isTry;
            private String delFlag;
            private List<Attribute> attributes;

            @Override
            public String toString() {
                return "GoodsSku{" +
                        "skuId='" + skuId + '\'' +
                        ", goodsId='" + goodsId + '\'' +
                        ", skuAttribute='" + skuAttribute + '\'' +
                        ", price=" + price +
                        ", stock=" + stock +
                        ", sales=" + sales +
                        ", goodsSkuImg='" + goodsSkuImg + '\'' +
                        ", isTry='" + isTry + '\'' +
                        ", delFlag='" + delFlag + '\'' +
                        ", attributes=" + attributes +
                        '}';
            }

            public String getSkuId() {
                return skuId;
            }

            public void setSkuId(String skuId) {
                this.skuId = skuId;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getSkuAttribute() {
                return skuAttribute;
            }

            public void setSkuAttribute(String skuAttribute) {
                this.skuAttribute = skuAttribute;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getStock() {
                return stock;
            }

            public void setStock(int stock) {
                this.stock = stock;
            }

            public long getSales() {
                return sales;
            }

            public void setSales(long sales) {
                this.sales = sales;
            }

            public String getGoodsSkuImg() {
                return goodsSkuImg;
            }

            public void setGoodsSkuImg(String goodsSkuImg) {
                this.goodsSkuImg = goodsSkuImg;
            }

            public String getIsTry() {
                return isTry;
            }

            public void setIsTry(String isTry) {
                this.isTry = isTry;
            }

            public String getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(String delFlag) {
                this.delFlag = delFlag;
            }

            public List<Attribute> getAttributes() {
                return attributes;
            }

            public void setAttributes(List<Attribute> attributes) {
                this.attributes = attributes;
            }

            public static class Attribute {
                private String attributeNameId;
                private String attributeValueId;
                private String attributeName;
                private String attributeValue;

                @Override
                public String toString() {
                    return "Attribute{" +
                            "attributeNameId=" + attributeNameId +
                            ", attributeValueId=" + attributeValueId +
                            ", attributeName='" + attributeName + '\'' +
                            ", attributeValue='" + attributeValue + '\'' +
                            '}';
                }

                public Attribute() {
                }

                public Attribute(String attributeName, String attributeValue) {
                    this.attributeName = attributeName;
                    this.attributeValue = attributeValue;
                }

                public String getAttributeNameId() {
                    return attributeNameId;
                }

                public void setAttributeNameId(String attributeNameId) {
                    this.attributeNameId = attributeNameId;
                }

                public String getAttributeValueId() {
                    return attributeValueId;
                }

                public void setAttributeValueId(String attributeValueId) {
                    this.attributeValueId = attributeValueId;
                }

                public String getAttributeName() {
                    return attributeName;
                }

                public void setAttributeName(String attributeName) {
                    this.attributeName = attributeName;
                }

                public String getAttributeValue() {
                    return attributeValue;
                }

                public void setAttributeValue(String attributeValue) {
                    this.attributeValue = attributeValue;
                }
            }
        }
    }
}
